<!-- 列表项 :求购 -->
<template>
  <div class="item hand" @click="go2ProductDetailSelf">
    <div class="tag tag1">{{ $t("sample.tag") }}</div>
    <div class="item_cen">
      <!-- 中间左侧 -->
      <div class="item_cen_l">
        <p class="item_cen_name mb">{{ $t("sample.label.productName") }}{{ item.productName }}</p>
        <p class="item_txt">{{ $t("sample.label.num") }}{{ item.num }}</p>
        <p class="item_txt">{{ $t("sample.label.remark") }}{{ item.remark }}</p>
        <p class="item_txt">{{ $t("sample.label.company") }}{{ item.companyName }}</p>
        <p class="item_txt">{{ $t("sample.label.time") }}{{ item.createTime }}</p>
      </div>
      <!-- 中间右侧 -->
      <div class="item_cen_r">
        <p class="item_cen_name mb">{{ $t("sample.label.contact") }}{{ item.name }}</p>
        <!-- 数量 -->
        <p class="item_txt">{{ $t("sample.label.phone") }}{{ item.phone }}</p>
        <p class="item_txt">{{ $t("sample.label.email") }}{{ item.email }}</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    item: {
      type: Object,
      required: true,
    },
  },
  computed: {},
  data() {
    return {};
  },
  mounted() {},
  methods: {
    go2ProductDetailSelf() {
      const item = {
        id: this.item.productId,
      };
      this.go2ProductDetail(item);
    },
  },
};
</script>
<style lang="scss" scoped src="@/assets/styles/sampleInquiry-item-member.scss"></style>
